source/derelict/cuda/driverapi.d(1118,35): Error: `@safe` function `loadSymbols` cannot access `__gshared` data `cuGetErrorString` source/derelict/cuda/driverapi.d(1118,22): Error: cast from `extern (C) int function(int, const(char)**) nothrow @nogc*` to `void**` not allowed in safe code source/derelict/cuda/driverapi.d(1119,35): Error: `@safe` function `loadSymbols` cannot access `__gshared` data `cuGetErrorName` source/derelict/cuda/driverapi.d(1119,22): Error: cast from `extern (C) int function(int, const(char)**) nothrow @nogc*` to `void**` not allowed in safe code source/derelict/cuda/driverapi.d(1120,35): Error: `@safe` function `loadSymbols` cannot access `__gshared` data `cuInit` source/derelict/cuda/driverapi.d(1120,22): Error: cast from `extern (C) int function(uint) nothrow @nogc*` to `void**` not allowed in safe code source/derelict/cuda/driverapi.d(1121,35): Error: `@safe` function `loadSymbols` cannot access `__gshared` data `cuDriverGetVersion` source/derelict/cuda/driverapi.d(1121,22): Error: cast from `extern (C) int function(int*) nothrow @nogc*` to `void**` not allowed in safe code source/derelict/cuda/driverapi.d(1122,35): Error: `@safe` function `loadSymbols` cannot access `__gshared` data `cuDeviceGet` source/derelict/cuda/driverapi.d(1122,22): Error: cast from `extern (C) int function(int*, int) nothrow @nogc*` to `void**` not allowed in safe code source/derelict/cuda/driverapi.d(1123,35): Error: `@safe` function `loadSymbols` cannot access `__gshared` data `cuDeviceGetCount` source/derelict/cuda/driverapi.d(1123,22): Error: cast from `extern (C) int function(int*) nothrow @nogc*` to `void**` not allowed in safe code source/derelict/cuda/driverapi.d(1124,35): Error: `@safe` function `loadSymbols` cannot access `__gshared` data `cuDeviceGetName` source/derelict/cuda/driverapi.d(1124,22): Error: cast from `extern (C) int function(char*, int, int) nothrow @nogc*` to `void**` not allowed in safe code source/derelict/cuda/driverapi.d(1125,35): Error: `@safe` function `loadSymbols` cannot access `__gshared` data `cuDeviceTotalMem` source/derelict/cuda/driverapi.d(1125,22): Error: cast from `extern (C) int function(ulong*, int) nothrow @nogc*` to `void**` not allowed in safe code source/derelict/cuda/driverapi.d(1126,35): Error: `@safe` function `loadSymbols` cannot access `__gshared` data `cuDeviceGetAttribute` source/derelict/cuda/driverapi.d(1126,22): Error: cast from `extern (C) int function(int*, int, int) nothrow @nogc*` to `void**` not allowed in safe code source/derelict/cuda/driverapi.d(1127,35): Error: `@safe` function `loadSymbols` cannot access `__gshared` data `cuCtxCreate` source/derelict/cuda/driverapi.d(1127,22): Error: cast from `extern (C) int function(void**, uint, int) nothrow @nogc*` to `void**` not allowed in safe code /opt/dmd-safe/dmd/dmd-safe failed with exit code 1.